/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.ap.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 采购申请审批明细Entity
 * @author 李超辉
 * @version 2018-12-17
 */
public class ApplicationApproval extends DataEntity<ApplicationApproval> {
	
	private static final long serialVersionUID = 1L;
	private String cgsq;		// 采购申请
	private Date date;		// 操作时间
	private String person;		// 操作人
	private String action;		// 操作
	private String reson;		// 审批意见
	
	public ApplicationApproval() {
		super();
	}

	public ApplicationApproval(String id){
		super(id);
	}

	@ExcelField(title="采购申请", align=2, sort=7)
	public String getCgsq() {
		return cgsq;
	}

	public void setCgsq(String cgsq) {
		this.cgsq = cgsq;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="操作时间", align=2, sort=8)
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	@ExcelField(title="操作人", align=2, sort=9)
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}
	
	@ExcelField(title="操作", align=2, sort=10)
	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}
	
	@ExcelField(title="审批意见", align=2, sort=11)
	public String getReson() {
		return reson;
	}

	public void setReson(String reson) {
		this.reson = reson;
	}
	
}